home *** CD-ROM | disk | FTP | other *** search
- object FormReportSelection: TFormReportSelection
- Left = 342
- Top = 105
- BorderStyle = bsDialog
- Caption = ' Factory demonstration'
- ClientHeight = 214
- ClientWidth = 412
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- OldCreateOrder = False
- Position = poScreenCenter
- OnCreate = FormCreate
- PixelsPerInch = 96
- TextHeight = 13
- object pcFactoryDemo: TPageControl
- Left = 4
- Top = 4
- Width = 406
- Height = 206
- ActivePage = tsComponentFactory
- Anchors = [akLeft, akTop, akRight, akBottom]
- TabOrder = 0
- object tsComponentFactory: TTabSheet
- Hint = 'Use the factory to create TComponent descendant'
- Caption = 'Component Factory'
- ParentShowHint = False
- ShowHint = True
- object GroupBox1: TGroupBox
- Left = 4
- Top = 4
- Width = 194
- Height = 169
- Caption = ' Select a report to run '
- TabOrder = 0
- object lbReports: TListBox
- Left = 8
- Top = 16
- Width = 178
- Height = 145
- Anchors = [akLeft, akTop, akRight, akBottom]
- ItemHeight = 13
- TabOrder = 0
- OnDblClick = btnAbsConcreteFactoryClick
- end
- end
- object GroupBox2: TGroupBox
- Left = 204
- Top = 4
- Width = 193
- Height = 169
- Caption = ' How to run the report? '
- TabOrder = 1
- object btnIfThenElse: TButton
- Left = 20
- Top = 20
- Width = 157
- Height = 25
- Hint = 'Procedural code'
- Caption = '&If-Then-Else Statement'
- TabOrder = 0
- OnClick = btnIfThenElseClick
- end
- object btnSimpleFactory: TButton
- Left = 20
- Top = 56
- Width = 157
- Height = 25
- Hint = 'Simple factory'
- Caption = '&Simple Factory'
- TabOrder = 1
- OnClick = btnSimpleFactoryClick
- end
- object btnAbsConcreteFactory: TButton
- Left = 20
- Top = 92
- Width = 157
- Height = 25
- Hint = 'Abstract / concrete factory '
- Caption = '&Abstract / Concrete Factory'
- TabOrder = 2
- OnClick = btnAbsConcreteFactoryClick
- end
- end
- end
- object tsObjectFactory: TTabSheet
- Hint = 'Use the factory to create TObject descendant'
- Caption = 'Object Factory'
- ImageIndex = 1
- ParentShowHint = False
- ShowHint = True
- object GroupBox4: TGroupBox
- Left = 4
- Top = 4
- Width = 185
- Height = 169
- Caption = ' Select an animal object to create '
- TabOrder = 0
- object lbAnimals: TListBox
- Left = 8
- Top = 16
- Width = 169
- Height = 145
- ItemHeight = 13
- TabOrder = 0
- OnDblClick = btnCreateAnimalClick
- end
- end
- object btnCreateAnimal: TButton
- Left = 200
- Top = 24
- Width = 185
- Height = 25
- Hint = 'Abstract / concrete factory with cache'
- Caption = 'Create animal object'
- TabOrder = 1
- OnClick = btnCreateAnimalClick
- end
- end
- end
- end
-